/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package view;
import javax.swing.*;
import java.awt.*;
/**
 *
 * @author zhaoyingxi
 */
public class Delete{
    public static void main (String[] args){
        JFrame frame3 = new JFrame();
        JButton button1 = new JButton("Delete");
        JButton button2 = new JButton("Return Menu");
        frame3.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        frame3.setSize(320,170);
        frame3.setVisible(true);

        frame3.setBackground(Color.LIGHT_GRAY);
        frame3.setLocation(300, 260);
        frame3.setLayout(new FlowLayout());
        frame3.add(new Label("User Name:"));
        frame3.add(new TextField(20));
        frame3.add(new Label("Password:"));
        frame3.add(new TextField(20));

        frame3.getContentPane().add(BorderLayout.SOUTH,button1);
        frame3.getContentPane().add(BorderLayout.SOUTH,button2);

       frame3.setVisible(true);
    }
    }

